<template>
  <div class="info_chunk">
    <a-form-item :label="formData.hideTitle ? '':`${formData.name || ' '}`" :colon="formData.name ? true: false" :required="formData.required" :extra="formData.extra">
      <a-switch v-model="formData.defaultValue" :disabled="formData.disabled" style="pointer-events: none;"/>
    </a-form-item>
  </div>
</template>

<script>
export default {
  name: 'SwitchInfo',
  props: {
    formData: {
      type: Object,
      default: () => {}
    }
  }
}
</script>
<style scoped lang="less">

</style>
